public class DispersionA implements Dispersion {
	public int calcular(String clave, int tamTabla) {
		int valor = 0;
		for (int i = 0; i < clave.length(); i++)
			valor += clave.charAt(i);
		return (valor % tamTabla);
	}

	public String toString() {
		return "Dispersion A";
	}
}
